package com.xiaobawang.knowledge.spider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
public class KnowledgeSpiderApplication {

    // nohup /root/jdk-17.0.10/bin/java -jar -Dspring.profiles.active=prd -Dlogging.loghome=/root/knowledge-spider knowledge-spider-0.0.1-SNAPSHOT.jar >/dev/null 2>&1 &
    // nohup /root/jdk-17.0.10/bin/java -jar -Dspring.profiles.active=dev -Dlogging.loghome=/root/knowledge-spider knowledge-spider-0.0.1-SNAPSHOT.jar >/dev/null 2>&1 &
    public static void main(String[] args) {
        SpringApplication.run(KnowledgeSpiderApplication.class, args);
    }

}
